﻿
using HBase;
using HBase.db;
using hCommand; 
using System.Collections.Generic;
using System.Data;

namespace Persistence
{
    public interface ICoreWhLocServer :IBaseServer {
     
        List<DapingDto> getDapingDto(int id);
        #region 区域设置
        //区域分页
        Page<CoreWhArea> QueryAreaPage(CoreWhAreaDto dto);
        //区域添加
        long AddArea(CoreWhArea coreWhArea);
        //区域修改
        bool UpdateArea(CoreWhArea coreWhArea);
        //区域删除
        int DeleteArea(List<CoreWhArea> areaList);
        //区域查找
        CoreWhArea FindAreaById(long id);
        //根据ID删除
        // bool DeleteByClassifyId(long userId);
        //区域名称查重
        bool QueryAreaPageByName(CoreWhArea coreWhArea);
        //通过库房ID查询数据
     

        List<CoreWhAreaStat> stat( );
        #endregion

        #region 库位设置
        //库位分页
        Page<CoreWhLoc> QueryLocPage(CoreWhLocDto dto); 
        //库位删除
        int DeleteLoc(List<CoreWhLoc> locList);
        //库位查找
        CoreWhLoc FindLocById(long id);
        //根据ID删除
        // bool DeleteByClassifyId(long userId);
        //库位名称查重
        bool QueryLocPageByRow(CoreWhLoc coreWhLoc);
        //通过区域ID查询数据
        List<CoreWhLoc> GetLocByWhAreaId(long areaId);
        //根据库位ID批量修改库区

        #endregion
    }
}
